<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
    <!--无数据提示 开始-->
    <section th:if="${#lists.isEmpty(dataMap['list'])}" class="no-data__wrap">
        <span class="no-data-ico"></span>
        <p class="mt20"><span class="c-666">最近一段时间，还没有会员变化记录~~~</span></p>
    </section>
    <!--无数据提示 结束-->
    <table th:if="${!#lists.isEmpty(dataMap['list'])}" class="table table-hover">
        <thead>
        <tr>
            <th><span class="c-999 fs12">会员名称</span></th>
            <th><span class="c-999 fs12">开通时间</span></th>
            <th><span class="c-999 fs12">期限</span></th>
            <th><span class="c-999 fs12">价格(元)</span></th>
        </tr>
        </thead>
        <tbody>
            <tr th:each="userMemberBuyRecord:${dataMap['list']}">
                <td th:text="${userMemberBuyRecord['shopName']}"></td>
                <td>
                    <span class="c-999" th:text="${#strings.substring(userMemberBuyRecord['createTime'],0,16)}"></span>
                </td>
                <td><span class="c-999" th:text="${userMemberBuyRecord['validDay']}+'天'"></span></td>
                <td><span class="c-warning"><small class="fs12"><i class="fa fa-yen"></i></small> <span th:text="${userMemberBuyRecord['price']}"></span></span></td>
            </tr>
        </tbody>
    </table>
    <div data-th-replace="layout/user/user-center-page"></div>
</html>
